<!-- HTML header for doxygen 1.8.3.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>CUB: cub::ArchProps&lt; SM_ARCH &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-38890655-1']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CUB
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecub.html">cub</a></li><li class="navelem"><a class="el" href="structcub_1_1_arch_props.html">ArchProps</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="structcub_1_1_arch_props-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cub::ArchProps&lt; SM_ARCH &gt; Struct Template Reference<div class="ingroups"><a class="el" href="group___util_module.html">Generic CUB utilities</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed description</h2>
<div class="textblock"><h3>template&lt;
    int SM_ARCH&gt;<br/>
struct cub::ArchProps&lt; SM_ARCH &gt;</h3>

<p>Structure for statically reporting CUDA device properties, parameterized by SM architecture. </p>
<p>The default specialization is for SM10. </p>

<p>Definition at line <a class="el" href="util__arch_8cuh_source.html#l00092">92</a> of file <a class="el" href="util__arch_8cuh_source.html">util_arch.cuh</a>.</p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a378def3dee75e77eb135efcf6f0ca063"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br/>
&#160;&#160;<b>LOG_WARP_THREADS</b>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063ac5a2eb5b9e3b50dd43ad67c1ff020d9c">WARP_THREADS</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a9596af8e6d63db07ffae0c5c35f513d5">LOG_SMEM_BANKS</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a55ab5a77ae95f67255bbec10cd3993e1">SMEM_BANKS</a>, 
<br/>
&#160;&#160;<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063ab56aa4deb8408a51e7cc139c2c1e14f5">SMEM_BANK_BYTES</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a993d6ee811a054da1a8579132c6301a1">SMEM_BYTES</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063af554a252a393bce18200236640959bab">SMEM_ALLOC_UNIT</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063addc3e62803e3ed6d8ec351faa7a2c45d">REGS_BY_BLOCK</a>, 
<br/>
&#160;&#160;<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a5f6934930aa379cd70b7c8e19bcff4bc">REG_ALLOC_UNIT</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a25bc7bb8dac71df0b7962776e0ed9cde">WARP_ALLOC_UNIT</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a3aa3c3db5dc28ef11961f6867fee7101">MAX_SM_THREADS</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063abdc229ee36991bb6055f3bd42fc59387">MAX_SM_THREADBLOCKS</a>, 
<br/>
&#160;&#160;<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a9079f42fbfb80e59ef7affc574bf6001">MAX_BLOCK_THREADS</a>, 
<a class="el" href="structcub_1_1_arch_props.html#a378def3dee75e77eb135efcf6f0ca063a90062d88d6a9abcfdfd4c29111a5ac3e">MAX_SM_REGISTERS</a>
<br/>
 }</td></tr>
<tr class="separator:a378def3dee75e77eb135efcf6f0ca063"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int SM_ARCH&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063ac5a2eb5b9e3b50dd43ad67c1ff020d9c"></a>WARP_THREADS</em>&nbsp;</td><td class="fielddoc">
<p>Log of the number of threads per warp. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a9596af8e6d63db07ffae0c5c35f513d5"></a>LOG_SMEM_BANKS</em>&nbsp;</td><td class="fielddoc">
<p>Number of threads per warp. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a55ab5a77ae95f67255bbec10cd3993e1"></a>SMEM_BANKS</em>&nbsp;</td><td class="fielddoc">
<p>Log of the number of smem banks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063ab56aa4deb8408a51e7cc139c2c1e14f5"></a>SMEM_BANK_BYTES</em>&nbsp;</td><td class="fielddoc">
<p>The number of smem banks. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a993d6ee811a054da1a8579132c6301a1"></a>SMEM_BYTES</em>&nbsp;</td><td class="fielddoc">
<p>Size of smem bank words. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063af554a252a393bce18200236640959bab"></a>SMEM_ALLOC_UNIT</em>&nbsp;</td><td class="fielddoc">
<p>Maximum SM shared memory. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063addc3e62803e3ed6d8ec351faa7a2c45d"></a>REGS_BY_BLOCK</em>&nbsp;</td><td class="fielddoc">
<p>Smem allocation size in bytes. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a5f6934930aa379cd70b7c8e19bcff4bc"></a>REG_ALLOC_UNIT</em>&nbsp;</td><td class="fielddoc">
<p>Whether or not the architecture allocates registers by block (or by warp) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a25bc7bb8dac71df0b7962776e0ed9cde"></a>WARP_ALLOC_UNIT</em>&nbsp;</td><td class="fielddoc">
<p>Number of registers allocated at a time per block (or by warp) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a3aa3c3db5dc28ef11961f6867fee7101"></a>MAX_SM_THREADS</em>&nbsp;</td><td class="fielddoc">
<p>Granularity of warps for which registers are allocated. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063abdc229ee36991bb6055f3bd42fc59387"></a>MAX_SM_THREADBLOCKS</em>&nbsp;</td><td class="fielddoc">
<p>Maximum number of threads per SM. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a9079f42fbfb80e59ef7affc574bf6001"></a>MAX_BLOCK_THREADS</em>&nbsp;</td><td class="fielddoc">
<p>Maximum number of thread blocks per SM. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a378def3dee75e77eb135efcf6f0ca063a90062d88d6a9abcfdfd4c29111a5ac3e"></a>MAX_SM_REGISTERS</em>&nbsp;</td><td class="fielddoc">
<p>Maximum number of thread per thread block. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="util__arch_8cuh_source.html#l00094">94</a> of file <a class="el" href="util__arch_8cuh_source.html">util_arch.cuh</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="util__arch_8cuh_source.html">util_arch.cuh</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.3.1-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 23 2013 17:31:11 for CUB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
<br>
&copy; 2013 NVIDIA Corporation
</small></address>
</body>
</html>
